<!DOCTYPE html>
<html>
    <head>
        <title>Renju</title>        
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="style/common.css" media="screen" />
        <script type="text/javascript" src="js_files/validators.js"></script>
        <script type="text/javascript" src="js_files/login.js"></script>
    </head>
    <body>
        <div class="content">
            <#include "include/header.html">        
            <div class="main_content">
                <label class="validation">${error}</label>
                <form action="?request=loggedin" method="post" onsubmit="return validateForm();" name="login">
                    <table>
                        <tr>
                            <td>Email</td>
                            <td>
                                <input type="text" name="email">
                            </td>
                            <td>
                                <label class="validation" id="emailError"></label>
                            </td>
                        </tr>
                        <tr>
                            <td>Password</td>
                            <td>
                                <input type="password" name="password">
                            </td>
                            <td></td>
                        </tr>
                    </table>
                    <input type="submit" value="Login" >
                </form>
                <a href="?request=register">register</a>
            </div>
        </div>
    </body>
</html>

